﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using DflyingForum.Core.Repositories;
using DflyingForum.Core.Data.NHHelper;

namespace Dottext.Web.UI.Controls
{
    /// <summary>
    ///BaseControl 的摘要说明
    /// </summary>
    public abstract class BaseControl : System.Web.UI.UserControl
    {
        public BaseControl()
        {
            this._bllPost = new PostReposity();
            this._query = new List<CriteriaParameter>();
            this._bllReply = new ReplyReposity();
            this._bllModule = new ModuleReposity();
            this._bllTopic = new TopicReposity();
            this._bllUser = new UserReposity();
        }

        protected PostReposity _bllPost;
        protected IList<CriteriaParameter> _query;
        protected ReplyReposity _bllReply;
        protected ModuleReposity _bllModule;
        protected TopicReposity _bllTopic;
        protected UserReposity _bllUser;

        public virtual BaseControl ProcessThisControl()
        {
            return this;
        }
    }
}